html,body {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #699abc;
  color: #535353;
  text-align: center;
}

img {
  border: 0px;
}

.error {
  text-align: center;
  font-family: Verdana;
  font-size: 12px;
  font-weight: bold;
  line-height: 25px;
  color: red;
  padding-top: 8px;
  padding-bottom: 8px;
}
.error a {
  color: blue;
  text-decoration: underline;
}
.error a:hover {
  text-decoration: none;
}
.success {
  text-align: center;
  font-family: Verdana;
  font-size: 12px;
  font-weight: bold;
  line-height: 25px;
  color: green;
  padding-top: 8px;
  padding-bottom: 8px;
}
a {
  color: #0256CC;
  text-decoration: underline;
}

table, td, th, p, li, span {
    font-family: Verdana !important;
    font-size: 12px !important;
    color: #535353;
    text-align: justify !important;
}

p {
    margin-bottom: 5px;
}

ul {
    margin-left: 40px;
}

li {
    margin-bottom: 10px;
    font-size: 11px !important;
}
/* ========================== LAYOUT ==================== */

#web_content {
  width: 1060px;
  margin: auto;
  height: auto;
  text-align: left;
}

#header {
  width: 100%;
  height: 164px;
  background: url('../gr/header_bg.jpg') repeat-x;
  background-position: center 22px;
  z-index: 0;
  text-align: left;
}

#header_image {
  width: 1060px;
  height: 164px;
  background: url('../gr/header_full.gif');
  z-index: 1;
  margin: auto;
}

#logo {
  float: left;
  margin-top: 23px;
  height: 103px;
  margin-bottom: 10px;
}
/* Be carefull about the margins! They must fit the sloping silver lines in background*/
#logo a {
  margin-left: 52px;
}
#logo img {
  border:0;
}

#header_bottom {
  width: 905px;
  height: 4px;
  background: url('../gr/header_bottom.png') repeat-x;
}

#content_columns {
  width: 1060px;
  background: url('../gr/body_bg.png') repeat-y;
}

#column_left {
  width: 180px;
  float: left;
  min-height: 300px;
  text-align: center;
}

#column_main {
  width: 567px;
  float: left;
}

#column_fastlinks {
  width: 156px;
  float: left;
  min-height: 200px;
  padding-top: 30px;
  margin-left: 2px;
}

#column_sponsors {
  width: 155px;
  float: left;
  min-height: 500px;
}

#bottomline {
  clear: both;
  width: 905px;
}

#footer {
  border-top: 2px solid #7e7e7d;
  margin-bottom: 15px;
  width: 905px;
  clear: both;
  height: 30px;
  line-height: 30px;
  text-align: center;
  font-family: Verdana;
  font-size: 11px;
  color: #000000;
}

#footer a {
  color: navy;
  text-decoration: underline;
}
#footer a:hover {
  text-decoration: none;
}

/* =========== CONTROL PANEL - Contains user and langs panel ======= */
#controlPanel {
  width: 905px;
  height: 30px;
  line-height: 30px;
  clear: both;
}

/* ================== USER PANEL =======================*/
#userPanel {
  height: 30px;
  float: right;
}
#userPanelLeft {
  float: right;
  width: 46px;
  height: 30px;
  background: url('../gr/search_left.gif') no-repeat;
}
#userPanelContent {
  float: right; 
  font-size: 10px; 
  overflow: hidden;
  /*width: 193px;*/
  padding-left: 2px;
  padding-right: 2px;
  line-height: 30px;
  height: 30px;
  background: url('../gr/search_bg.gif') repeat;
}
#userPanelSearch {
  float: right;
  height: 30px; 
  line-height: 30px;
  background: url('../gr/search_bg.gif') repeat-x;
  padding-left: 10px;
  padding-right: 10px;
}

/* ================ LANGS PANEL =================== */
#languagesPanel {
    float: left;
}

/* ================== SEARCH ======================= */
#searchField {
  float: left;
  background: #FFF;
  border: 0px;
  color: #535353;
  font-size: 11px;
  height: 21px;
  margin-top: 5px;
  margin-right: 0px;
  padding-left: 4px;
  padding-right: 4px; 
}

#searchButton {
  float: left;
  background: url('../gr/go_btn.png') no-repeat;
  width: 21px;
  height: 21px;
  border: 0px;
  margin-top: 5px;
  padding: 0px;
}

/* =================== LOGIN ========================= */
#showLoginButton, #usernameLabel {
  line-height: 28px;
  height: 28px;
  margin-top: 2px;
  font-family: Verdana;
  color: #FFF;
  font-size: 11px;
  font-weight: bold;
  margin-right: 5px;
  float: left;
  overflow: hidden;
}
#showLoginButton img {
  margin-top: 2px;
}
#userInfo {
  line-height: 27px;
  height: 27px;
  margin-top: 3px;
  font-family: Verdana;
  color: #FFF;
  font-size: 10px;
  font-weight: bold;
  margin-left: 5px;
  float: right;
  min-width: 100px;
  overflow: hidden;
  text-align: right;
}
#controlIcons {
  float: left;
  margin-top: 5px; width: 80px;
}

#loginForm {
  display: none;
  overflow: hidden;
  white-space: nowrap;
}
.loginField {
  background: #FFF;
  border: 0px;
  color: #535353;
  font-size: 11px;
  height: 19px;
  line-height: 19px;
  margin-top: 5px;
  margin-right: 2px;
  padding-left: 4px;
  padding-right: 4px;
}
#loginButton {
  width: 21px;
  height: 21px;
  background: url('../gr/go_btn.png') no-repeat;
  border: 0px;
  margin-left: -5px;
}

/* ================== Vertical Menu ==================*/
#verticalMenu {
  margin-left: 8px;
  margin-top: 10px;
  width: 164px;
  border: 1px solid #7c7563;
  border-right: 0px;
  background: #f0f0f0;
  text-align: left;
}

.tab {
  width: 164px;
  height: 24px;
  line-height: 24px;
  border-bottom: 1px solid #7c7563;
  background: #cecece;
}

.tab_l {
  width: 10px;
  height: 24px;
  background: #7e7e7d;
  float: left;
}
.tab_c {
  width: auto;
  height: 24px;
  line-height: 22px;
  background: #cecece;
  float: left;
  font-family: Verdana;
  font-size: 14px;
  font-variant: small-caps;
  margin-left: 5px;
  color: #656565;
  font-weight: bold;
}
.tab_so {
  width: 24px;
  height: 24px;
  background: url('../gr/tab_opened.png');
  float: right;
}
.tab_sc {
  width: 24px;
  height: 24px;
  background: url('../gr/tab_closed.png');
  float: right;
}
.tab_sm {
  /*z-index: 1;*/
  position: relative;
}
.menuItem {
  margin-left: 11px;
  height: 26px;
  width: 153px;
  overflow: visible; /* for menu effect */
  position: relative;
  background: #959594;
  cursor: pointer;
}

.menuItem_p {
  width: 153px;
  height: 26px;
  background: #959594;
  float: left;
  z-index: 1;
  position: absolute;
}
.menuItem_c {
  width: 132px;
  line-height: 24px;
  height: 26px;
  background: #959594;
  float: right;
  font-family: Verdana;
  font-size: 11px;
  color: #FFF;
  text-decoration: none;
}
.menuItem_c a, .menuItem_c a:hover {
  font-family: Verdana;
  font-size: 11px;
  color: #FFF;
  text-decoration: none;
  font-weight: normal;
}
.menuItem_c a:hover {
  font-weight: bold;
}
.menuItem_so {
  width: 20px;
  height: 26px;
  float: right;
  border-right: 1px solid #6f6f6e;
  background: url('../gr/menuitem_opened.png');
}
.menuItem_sc {
  width: 20px;
  height: 26px;
  float: right;
  border-right: 1px solid #6f6f6e;
  background: url('../gr/menuitem_closed.png');
}
.menuItem_pu {
  width: 154px;
  border: 1px solid #6f6f6e;
  border-top: 0px;
  border-right: 0px;
  display: none;
  position: absolute;
}
.pmi {
  width: 154px;
  height: 26px;
  background: #cecece;
  position: relative;
  overflow: visible; /* for menu effect */
}
.pmi_p {
  width: 154px;
  height: 26px;
  background: #cecece;
  float: left;
  z-index: 1;
}
.pmi_c {
  width: 133px;
  height: 26px;
  line-height: 25px;
  background: #cecece;
  float: right;
  font-family: Verdana;
  font-size: 11px;
  color: #656565;
  overflow: hidden;
}
.pmi_c a, .pmi_c a:hover {
  font-family: Verdana;
  font-size: 11px;
  color: #656565;
  text-decoration: none;
  font-weight: normal;
}
.pmi_c a:hover {
  font-weight: bold;
}
.pmi_sn {
  width: 20px;
  height: 26px;
  background: #959594;
  float: right;
  border-right: 1px solid #6f6f6e;
}

.pmi_so {
  width: 20px;
  height: 26px;
  background: url('../gr/menuitem_opened.png');
  float: right;
  border-right: 1px solid #6f6f6e;
}
.pmi_sc {
  width: 20px;
  height: 26px;
  background: url('../gr/menuitem_closed.png');
  float: right;
  border-right: 1px solid #6f6f6e;
}
.pmi_pu {
  width: 154px;
  border: 1px solid #6f6f6e;
  border-top: 0px;
  border-right: 0px;
  display: none;
  position: absolute;
}

/* ===================== CONTENT ============================*/
#sectionTitle {
  width: auto;
  height: 27px;
  clear: both;

}
#sectionTitleLeft {
  width: 41px;
  height: 27px;
  background: url('../gr/section_title_left.png') no-repeat;
  float: left;
}
#sectionTitleContent {
  width: auto;
  height: 27px;
  background: url('../gr/section_title_bg.png') repeat-x;
  font-size: 15px;
  font-family: Verdana;
  font-variant: small-caps;
  color: #656565;
  font-weight: bold;
  line-height: 27px;
  float: left;
  padding-left: 10px;
  padding-right: 30px;
}
#sectionTitleRight {
  width: 44px;
  height: 27px;
  background: url('../gr/section_title_round.png') no-repeat;
  float: left;
}

#contentTop {
  height: 5px;
  width: 567px;
  background: url('../gr/text_top.png') no-repeat;
}
#contentBottom {
  height: 26px;
  width: 567px;
  border-top: 1px solid #7e7e7d;
}

#contentBottom_borders {
    width: 559px;
    margin-left: 6px;
    height: 26px;
    border-left: 1px solid #7e7e7d;
    border-right: 1px solid #7e7e7d;
}

.mainContainer {
  width: 559px;
  border-left: 1px solid #7e7e7d;
  border-right: 1px solid #7e7e7d;
  margin-left: 6px;
  margin-bottom: 0px;
  overflow: hidden;
}

.mainContainer.splitLine {
  background-image: url('../gr/containersSplit.png');
  background-repeat: repeat-y;
  _margin-top: -14px;
}

.containerDescription {
  text-align: justify;
  font-family: Verdana;
  font-size: 11px;
  color: #535353;
  border-bottom: 1px solid #7e7e7d;
  background: #fbedc6;
}
.containerDescription .content {
  text-align: justify;
  font-family: Verdana;
  font-size: 11px;
  color: #535353;
  padding: 8px;
}

.staticText {
  padding: 5px;
  font-family: Verdana;
  font-size: 11px;
}

/* ============================== OBJECT PREVIEW ==================== */

.objectPreview {
  font-family: Verdana;
  font-size: 11px;
  clear: both;
}

.objectPreview .header {
  width: auto;
  padding-top: 5px;
  clear: both;
}
.objectPreview .header .title {
  float: left;
  font-size: 14px;
  color: #535353;
  font-weight: bold;
  max-width: 440px;
}
.doubleContainer .objectPreview .header .title {
  max-width: 198px;
  /* MSIE */
  _width: 196px;
}
.objectPreview .header .info {
  float: right;
  width: 80px;
  font-size: 10px;
  color: #535353;
  text-align: right;
}
.objectPreview .header .title .author {
  font-weight: normal;
  font-size: 10px;
  padding-left: 10px;
}

.objectPreview .content {
    clear: both;
    padding-top: 5px !important;
}

.objectPreview .content p, .objectPreview .content span, .objectPreview .content {
  padding: 5px;
  padding-top: 0px;
  text-align: justify;
  font-size: 12px /*!important;*/
}

.objectPreview .bottom {
  border-bottom: 1px solid #7e7e7d;
  clear: both;
  /*padding: 10px;
  padding-top: 0px;*/
}
.objectPreview .bottom .moreLink {
  float: right;
  width: 79px;
  height: 16px;
  background: url('../gr/more_link.gif') no-repeat;
  text-align: center;
}
.objectPreview .bottom .moreLink a {
  margin-left: 5px;
  font-family: Verdana;
  font-size: 10px;
  color: #FFF;
  text-decoration: none;
}

/* ============================ OBJECT FULL VIEW ============================ */

.objectFullview {
  width: 559px;
  border-left: 1px solid #7e7e7d;
  border-right: 1px solid #7e7e7d;
  font-family: Verdana;
  font-size: 11px;
  clear: both;
  margin-left: 6px;
}
.objectFullview .header {
  width: auto;
  padding-top: 5px;
  clear: both;
}
.objectFullview .header .title {
  float: left;
  max-width: 80%;
  font-size: 14px;
  color: #535353;
  font-weight: bold;
  padding-left: 10px;
}
.objectFullview .header .info {
  float: right;
  /*width: 20%;*/
  font-size: 10px;
  color: #535353;
  text-align: right;
  padding-right: 10px;
}
.objectFullview .header .info .author {
  font-weight: bold;
}

.objectFullview .perex, .objectFullView .perex span, .objectFullView .perex p {
  padding: 5px;
  padding-top: 0px;
  padding-bottom: 5px;
  text-align: justify;
  font-style: italic;
  clear: both;
  font-size: 11px !important;
}

.objectFullview .content, objectFullview .content span, .objectFullview .content p,.objectFullView span {
  clear: both;
  padding: 5px;
  padding-top: 0px;
  text-align: justify;
  font-size: 12px; /*!important;*/
}

.objectFullview .bottom {
  border-bottom: 1px solid #7e7e7d;
  clear: both;
}
.objectFullview .bottom .moreLink {
  float: right;
  width: 79px;
  height: 16px;
  background: url('../gr/more_link.gif') no-repeat;
  text-align: center;
}
.objectFullview .bottom .moreLink a {
  margin-left: 5px;
  font-family: Verdana;
  font-size: 10px;
  color: #FFF;
  text-decoration: none;
}

/* ================================ EDIT/ADD FORMS ============================ */
.editForm {
  display: none;
  clear: both;
}
.toggleEditbox {
  float: right;
  width: 22px;
  height: 22px;
  background: url('../gr/edit.gif') no-repeat;
  background-color: #7e7e7d;
  margin-top: -8px;
  margin-right: -8px;
}

/* =============================== TOOLBOX ====================================*/
.toolsBox {
  float: right;
  background: #7e7e7d;
  padding: 2px;
}

/* ================================= ADMINPANEL ============================== */
.adminPanel {
  border-bottom: 1px solid #7e7e7d;
}

/* ================================ ADD_OBJECT BUTTON ======================== */
.addObjectButton {
  padding-left: 5px;
  padding-right: 5px;
  /*margin-left: 5px;*/
  /*margin-top: 5px;*/
  color: #FFF;
  line-height: 20px;
  font-family: Verdana;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  width: 80px;
  background: #7e7e7d;
  cursor: pointer;
}
.addObjectsList {
  background: #cecece;
  border: 1px solid #6f6f6e;
  width: 150px;
  position: absolute;
  display: none;
}
.addObjectListItem {
  font-family: Verdana;
  font-size: 11px;
  line-height: 22px;
  height: 22px;
  padding-left: 5px;
}
.addObjectListItem a, addObjectListItem a:hover {
  font-family: Verdana;
  font-size: 11px;
  color: #656565;
  text-decoration: none;
}

/* ====================== SPONSOR =============== */
.sponsor {
	width: 155px;
	text-align: center;
	margin-bottom: 8px;
}
.sponsor h1 {
	font-family: Verdana;
	font-size: 14px;
}
.sponsor img {
	max-width:150px;
	/* IE Image max-width */
	width: expression(this.width > 150 ? 150: true);
	text-align: center;
}

/* ================= FASTLINKS ================= */

.pollContainer {
    width: 138px;
}

.fastlinktab {
  width: 138px;
  height: 24px;
  line-height: 24px;
  border-bottom: 1px solid #7c7563;
  background: #cecece;
}

.fastlinktab_left {
  width: 10px;
  height: 24px;
  background: #7e7e7d;
  float: left;
}
.fastlinktab_content {
  width: auto;
  height: 24px;
  line-height: 22px;
  background: #cecece;
  float: left;
  font-family: Verdana;
  font-size: 14px;
  font-variant: small-caps;
  margin-left: 5px;
  color: #656565;
  font-weight: bold;
}
.fastlinktab_pollIcon {
  width: 24px;
  height: 24px;
  background: url('../gr/icon_poll.png');
  float: right;
}
.fastlinktab_fastlinksIcon {
    width: 24px;
    height: 24px;
    background: url('../gr/icon_fastlinks.png');
    float: right;

}

.fastLinksContainer {
        width: 138px;
	height: auto;
	border: 1px solid #7e7e7d;
	text-align: center;
	margin-left: 5px;
	font-family: Verdana;
	font-size: 11px;
	padding-bottom: 5px;
  background-color: #f0f0f0;
}

.fastLink {
	width: 128px;
	text-align: center;
  margin-top: 4px;
	margin-bottom: 4px;
	font-family: Verdana;
	font-size: 10px;
	margin-left: 5px;
	margin-right: 5px;
	overflow: hidden;
}
.fastLink h1 {
	font-family: Verdana;
	font-size: 14px;
  margin-bottom: 3px;
}

.fastLink_imgHelper {
  width: 128px;
}

.fastLink img {
	max-width: 128px;
	width: expression(this.width > 128 ? 128: true);
/*	text-align: center;
  margin-top: 2px;*/
}

/* ================= USER ADMIN TABLE ================ */
.userAdminTable  {
}
.userAdminTable td {
	font-family: Verdana;
	font-size: 11px;
	text-align: left;
	padding-left: 3px;
	padding-right: 3px;

}
.userAdminTable th {
	font-family: Verdana;
	font-size: 12px;
	font-weight: bold;
	text-align: center;
}
.userAdminTable a {
	color: blue;
	text-decoration: underline;
}
.userAdminTable a:hover {
	text-decoration: none;
}

/* ================== STRIPE TABLE =================== */
.stripeTable th {
	background: #9d9c9c;
	font-weight: bold;
	text-align: left;
	height: 20px;
	line-height: 20px;
	padding: 10px;
	/*border: 1px solid #9d9c9c;*/
}
.stripeTable table {
	border-collapse: collapse;
}
.stripeTable td {
	/*border: 1px solid #9d9c9c;*/
	padding-left: 10px;
	padding-right: 10px;
        line-height: 20px;
}
.stripeTable tr.alt td {
	background: #c5c5c5;
}
.stripeTable tr.over td {
	background: #9d9c9c;
}

/* ====================== DOUBLE CONTAINER ================= */
.doubleContainer {
    margin-bottom: 20px;
}
.doubleContainer.left {
    width: 280px;
    float: left;
    overflow: hidden;
}
.doubleContainer.right {
    width: 278px;
    _width: 276px;
    float: right;
    overflow: hidden;
}

/* ===================== POLLS ============================ */
.poll {
	width: 138px;
	height: auto;
	border: 1px solid #7e7e7d;
	text-align: center;
	margin-left: 5px;
	font-family: Verdana;
	font-size: 11px;
	padding-bottom: 5px;
        background-color: #f0f0f0;
}

.poll .question {
	font-family: Verdana;
	font-size: 11px;
        background: #959594;
        width: 126px;
        margin-left: 6px;
        margin-right: 6px;
        color: #FFF;
        margin-bottom: 10px;
}

.poll .answers {
        border-top: 1px solid #7e7e7d;
}

.poll .answer, .poll .disabledAnswer {
        background: #cecece;
	cursor: pointer;
        border-bottom: 1px solid #7e7e7d;
        padding-top: 5px;
        padding-bottom: 5px;
        width: 138px;
}


.poll .disabledAnswer {
	cursor: default;
}
.poll .answerString {
	text-align: left;
	font-family: Verdana;
	font-size: 10px;
        margin-left: 3px;
}
.poll .answerBar {
        margin-left: 3px;
	line-height: 1px;
	display: block;
	background: #699abc;
        margin-top: 4px;
        margin-bottom: 2px;
}
.poll .totalCount {
        margin-top: 3px;
}

/* ==================== GUESTBOOK ================== */
#gbForm {
	border-bottom: 1px solid #7e7e7d;
        padding: 10px;
        text-align: center;

}
#messagesContainer {
	margin-top: 10px;
}
.gbMessage {
	width: 559px;
	border-bottom: 1px solid #7e7e7d;
	font-family: Verdana;
	font-size: 11px;
}
.gbMessage .header {
	width: 559px;
}
.gbMessage .author {
	font-weight: bold;
	float: left;
	padding-left: 8px;
	padding-top: 5px;
}
.gbMessage .date {
	float: right;
	padding-right: 8px;
	padding-top: 5px;
}
.gbMessage .comment {
	padding-left: 8px;
	padding-right: 8px;
	padding-top: 5px;
	padding-bottom: 5px;
	clear: both;
}
.gbMessage .footer {
	width: 559px;
}
.gbMessage .footer a {
	padding-left: 8px;
	padding-right: 8px;
}

/* ========== PROFESSORS and STUDENTS SEARCH =============== */
.searchForm {
	padding: 8px;
	border-bottom: 1px solid #7e7e7d;
}

/* =================== INPUTS ====================== */
input {
  background: #FFF;
  border: 0px;
  color: #535353;
  font-size: 11px;
  height: 19px;
  line-height: 19px;
  margin-top: 5px;
  margin-right: -5px;
  padding-left: 4px;
  padding-right: 4px;
  border: 1px solid #7e7e7d;
}
input[type="submit"] {
  padding-top: 5px;
  padding-bottom: 5px;
  height: 25px;
}
.submitSearchBtn {
  font-weight: bold;
}

/* ==================== PAGING ======================= */
.paging {
	text-align: center;
	height: 17px;
}
.paging a {
  margin-left: 5px;
  font-family: Verdana;
  font-size: 10px;
  color: #FFF;
  text-decoration: none;
}

.pageBack_empty, .pageBack {
	float: left;
	width: 80px;
	height: 17px;
}

.pageBack {
	background-image: url('../gr/page_back.gif');
}
.pageNext_empty, .pageNext {
	float: right;
	width: 80px;
	height: 17px;
}
.pageNext {
	background-image: url('../gr/page_next.gif');
}

/* ================ SEPARATOR ================= */
.separator {
    width: 100%;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 1px;
    line-height: 1px;
}

.separator_line {
    line-height: 1px;
    height: 1px;
    font-size: 1px;
    background-color: #d4d4d4;
    width: 75%;
    margin: auto;
    margin-top: 3px !important;
    margin-bottom: 3px !important;
}

/* ================= DIALOGS ======================= */
#searchFilterForm {
    margin-top: 2px;
    margin-right: 10px;
}

/* ============== CONTENT EDITOR TABLE ============== */
.contentEditor_table th {
    text-align: left;
}

/* ================ SUBJECTS SUBMENU ================= */
.subjectsSubMenu a {
    display: block;
    text-align: center;
    line-height: 25px;
    text-decoration: none;
    color: #535353;
}
.subjectsSubMenu a.selected,
.subjectsSubMenu a:hover {
    font-weight: bold;
}
